import { pubRequire } from '@utils/public'
const baseUrl = '/login-logs'
// 获取列表
export function getSearchList(params, callBack, errBack) {
  return pubRequire('get', `${baseUrl}`, params, callBack, errBack)
}
// 删除单个
export function deleteSingleRequest(id, callBack, errBack) {
  return pubRequire('delete', `${baseUrl}/${id}`, '', callBack, errBack)
}
// 删除多个
export function deleteMultRequest(params, callBack, errBack) {
  return pubRequire('delete', `${baseUrl}`, params, callBack, errBack)
}
// 清空日志
export function clearRequest(callBack, errBack) {
  return pubRequire('delete', `${baseUrl}/clears`, '', callBack, errBack)
}
// 导出地址
export function downUrl() {
  return `${baseUrl}/export`
}
